@media screen and (min-width: 1280px) {
    .container {
        width: 1280px;
    }
}

body {
    background-color: #f5f5f5;
}

.container {
    background-color: #fff;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* header */

header {
    padding-left: 0 !important;
}

/* logo */
.logo {
    background-color: #429ad9;
}

.logo span {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
    color: #fff;
}

header img {
    display: block;
    /* width: 100%; */
    max-width: 100%;
    margin: 0 auto;
}

/* nav */
/* 屏幕进入小屏幕和超小屏幕时 让nav里面的li浮动起来 */
@media screen and (max-width:991px) {
    .nav li {
        float: left;
        width: 20%;
    }

    .news {
        margin-top: 10px;
    }
}

/* 屏幕进入超小屏幕时 让文字变小*/
@media screen and (max-width:767px) {
    .nav a {
        padding-left: 0 !important;
    }

    .nav li {
        font-size: 10px;
    }

    article .news ul li:first-child {
        width: 100%;
    }

    article .news ul li:nth-child(n+2) {
        width: 50%;
    }

    .publish h3 {
        font-size: 14px;
    }
}

.nav {
    background-color: #eee;
    border-bottom: 1px solid #fff;
}

.nav ul {
    padding: 0;
    list-style: none;
}

.nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    color: #666;
    padding-left: 30px;
    text-decoration: none;
}

.nav a::before {
    padding-right: 5px;
    vertical-align: middle;
}

.nav a:hover {
    color: #333;
    background-color: #ffffff;
}

/* news */
.news ul li {
    display: block;
    float: left;
    padding-right: 10px;
}

.news ul li:first-child {
    width: 50%;
    height: 266px;
}

.news ul li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.news ul li:first-child p {
    line-height: 41px;
    font-size: 20px;
}

.news li:first-child p {
    padding: 0 10px;
}

.news p {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 41px;
    background-color: rgba(0, 0, 0, .4);
    padding: 5px 10px;
    color: #fff;
    font-size: 9px;

}

.news ul li a img {
    width: 100%;
    height: 100%;
}

.news ul li:nth-child(n+2) {
    width: 25%;
    height: 138px;
    padding-bottom: 10px;
}

/* 发表 publish */
.publish .row:first-child {
    border-top: 1px solid #ccc;
}

.publish .row {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.publish .pic {
    padding-top: 10px;
}

.publish .pic img {
    width: 100%;
}

/* aside侧边栏 */
.aside-hd img {
    width: 100%;
}

.aside-bd {
    display: block;
    padding: 0 10px 10px;
    border: 1px solid #ccc;
    margin-top: 20px;
}

.aside-bd span {
    margin-bottom: 20px;
}

.aside-bd p {
    font-size: 12px;
}